package main

import "fmt"
import "encoding/json"

type Monster struct {
	Name string `json:"name"`
	Age int `json:"age"`
	Skill string `json:"skill"`
}

func main() {

	monster := Monster{"牛魔王", 500, "芭蕉扇"}
	jsonMonster, _ := json.Marshal(monster)

	fmt.Println(string(jsonMonster))

}